﻿using System.Threading.Tasks;
using BabyBusMobileWeb.Core.Helper;
using BabyBusMobileWeb.ViewModels;

namespace BabyBusMobileWeb.Services.Login
{
    public interface ILoginService
    {

        //public async Task<ApiResponser> LoginNew(User crmUser)
        //{
        //    var response = await _restHeler.AsyncUpdate(Constants.LoginNew, crmUser);
        //    return response;
        //}
        //Task<ApiResponser> Login(BabyBus.Model.User crmUser);

        Task<ApiResponser> LoginNew(User crmUser);
        Task<ApiResponser> Register(User crmUser);

        Task<User> GetUserByLoginName(string loginName);
    }
}
